<include file="public:header" />
<div class="allpagetop">工具<strong>/</strong>第三方登录</div>
<div class="admin_main_nr_dbox">
<div class="pagetit">
	        <div class="ptit">QQ</div>
				<include file="Logapi/topnav" /> 
	        <div class="clear"></div>
  </div>
		
		
    <div class="toptit">QQ登录<span class="note link_g">(吉他郭问答集成QQ登录接口，若使用QQ登录请先获取QQ互联平台密钥，<a href="https://connect.qq.com/"  target="_blank"><strong>点击获取</strong></a>)</span></div>
  <form action="{:RU('logapi/edit')}" method="post"   name="FormData" id="FormData" >
  
  <input name="id" type="hidden" value="{$oauth.id}" />
   <input name="alias" type="hidden" value="qq" />
  <input name="sort" type="hidden" value="2" />
  <input name="name" type="hidden" value="QQ登录" />
	  <div class="admin_form_main">
	  
	   <div class="fl">开启登录:</div>
		<div class="fr">
		<div class="imgchecked_small <if condition="$oauth.is_display eq 1 "> select</if>"><input name="is_display" type="hidden" value="{$oauth.is_display}" /></div>
		
		
		 
		<div class="clear"></div>
		</div>
		
	    <div class="moreform"  <if condition="$oauth.is_display eq 1 ">style="display:block"</if>>
	      <div class="fl">APPID:</div>
	      <div class="fr"><input name="app_id" type="text"  class="input_text_default" maxlength="60" placeholder="输入APPID" value="{$oauth.config.app_id}"/>
          </div>
	      <div class="fl">APPKEY:</div>
	      <div class="fr">
	        <input name="app_key" type="text"  class="input_text_default" maxlength="100" placeholder="输入APPKEY" value="{$oauth.config.app_key}"/>
            </div>
			</div>
	      
	    <div class="fl"></div>
		<div class="fr">
		<input name="" type="submit" class="admin_submit big"    value="保存配置"/>
		</div>
		
		
		
		<div class="clear"></div>
		
	  </div>
  
  
 
  
  
   
  </form>
</div>
<include file="public:footer" />
<script type="text/javascript">
		$(document).ready(function(){
			$('.imgchecked_small').click(function()
			{
				if($(this).find("input").val()=='1')
				{
				$(".moreform").hide();
				}
				else
				{
				$(".moreform").show();
				}
			});
		});
</script>
</body>
</html>